package com.sdy.rc.biz.service.impl;

import java.util.Date;
import java.util.List;

import com.sdy.rc.biz.model.TMatter;
import com.sdy.rc.biz.mapper.TMatterMapper;
import com.sdy.rc.biz.service.TMatterService;
import com.sdy.mvc.service.impl.BaseServiceImpl;

import lombok.extern.slf4j.Slf4j;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zzq
 * @since 2019-07-11
 */
@Slf4j
@Service
public class TMatterServiceImpl extends BaseServiceImpl<TMatter> implements TMatterService {
    @Autowired
    private TMatterMapper tm;
	
	//删除（隐藏数据）单条
	@Override
	public int concealMatterspersonalById(int id) {
		// TODO Auto-generated method stub
		return tm.hideTMatterById(id);
	}

	@Override
	public List<TMatter> findAllTMatter() {
		// TODO Auto-generated method stub
		return tm.selectAllTMatters();
	}

}
